import {  post, del, put } from "@/request"

// 获取商户信息
export const getMerchantList = (data: any) => {
    return post("/merchant/getMerchantInfo", data)
}

//删除商户信息
export const deleteMerchantInfo = (data: any) => {
    return del("/merchant/deleteMerchantInfo", data)
}

//添加商户信息
export const addMerchantInfo = (data: any) => {
    console.log(data)
    return post("/merchant/addMerchantInfo", data)
}

//修改商户信息
export const updateMerchantInfo = (data: any) => {
    return put("/merchant/updateMerchantInfo", data)
}

